﻿<%@ Page Language="C#" AutoEventWireup="true" EnableViewState="false" CodeBehind="backMgr.aspx.cs"
    Inherits="Web.View.backMgr" %>

<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>中国云--WebMisDeveloper后台管理主页面</title>
    <link href="/view/images/Icons/icon.css" rel="stylesheet" type="text/css" />
    <script src="/view/js/Tab.js" type="text/javascript"></script>
    <script type="text/javascript">
        var loadExample = function(href, id) {
            var tab = CenterPanel.getComponent(id);
            if (tab) {
                CenterPanel.setActiveTab(tab);
            } else {
                createExampleTab(id, href);
            }
        }
    </script>
</head>
<body style=" background:#93B0CC  url(/View/images/loading32.gif)  no-repeat center center;">
    <form id="form1" runat="server">
    <ext:ResourceManager runat="server" />
    <ext:Viewport ID="Viewport1" runat="server">
        <Items>
            <ext:BorderLayout ID="BorderLayout1" runat="server">
                <North Split="true" Collapsible="true">
                    <ext:Panel ID="Panel1" Frame="true" runat="server" Title="欢迎使用“中国云--WebMisDeveloper”"
                        Height="100" Icon="Monitor">
                        <Items>
                            <ext:HBoxLayout ID="HBoxLayout1" Align="Top">
                                <BoxItems>
                                    <ext:BoxItem>
                                        <ext:Label Html="<img src='/view/images/head.png' />" />
                                    </ext:BoxItem>
                                    <ext:BoxItem Flex="1">
                                        <ext:Panel ID="Panel4" BaseCls="x-plain" />
                                    </ext:BoxItem>
                                    <ext:BoxItem>
                                        <ext:Panel>
                                            <Items>
                                                <ext:Toolbar ID="Toolbar1" Width="250" runat="server">
                                                    <Items>
                                                        <ext:Label ID="Label1" Text="切换主题" runat="server">
                                                        </ext:Label>
                                                        <ext:ComboBox ID="cbTheme" runat="server" EmptyText="Choose Theme" Width="115" Editable="false"
                                                            TypeAhead="true">
                                                            <Items>
                                                                <ext:ListItem Text="Default" Value="default" />
                                                                <ext:ListItem Text="Gray" Value="gray" />
                                                                <ext:ListItem Text="Access" Value="access" />
                                                                <ext:ListItem Text="Slate" Value="slate" />
                                                            </Items>
                                                            <Listeners>
                                                                <Select Handler="Ext.net.ResourceMgr.setTheme('/extjs/resources/css/xtheme-' + item.getValue() + '-embedded-css/ext.axd');" />
                                                            </Listeners>
                                                            <DirectEvents>
                                                                <Select OnEvent="cbTheme_changed">
                                                                    <EventMask ShowMask="true" Msg="正在更换皮肤,请稍后..." MinDelay="200" />
                                                                </Select>
                                                            </DirectEvents>
                                                        </ext:ComboBox>
                                                        <ext:ToolbarSeparator ID="ToolbarSeparator3" runat="server" />
                                                        <ext:Button ID="BtnSafeExit" Icon="ControlPowerBlue" runat="server" Text="安全退出">
                                                            <DirectEvents>
                                                                <Click OnEvent="BtnExit_Click">
                                                                    <Confirmation ConfirmRequest="true" Title="确认" Message="确实要退出系统吗？退出前请注意保存数据！" />
                                                                    <EventMask ShowMask="true" Msg="正在退出，请等候 ..." />
                                                                </Click>
                                                            </DirectEvents>
                                                        </ext:Button>
                                                    </Items>
                                                </ext:Toolbar>
                                                <ext:Label Html='<div style="text-align:right;"><iframe src="http://m.weather.com.cn/m/pn7/weather.htm " width="170" allowTransparency="true" height="20" marginwidth="0" marginheight="0" frameborder="0" scrolling="no"></iframe><br><iframe src="http://s.time.org.cn/clock/#color:ff0000;font-size:9pt" allowTransparency="true" width="200" height="20" frameborder="0" scrolling="no" ></iframe></div>'>
                                                </ext:Label>
                                            </Items>
                                        </ext:Panel>
                                    </ext:BoxItem>
                                </BoxItems>
                            </ext:HBoxLayout>
                        </Items>
                    </ext:Panel>
                </North>
                <West Split="true" Collapsible="true">
                    <ext:Panel ID="WestPanel" runat="server" Frame="true" Title="WebMisDeveloper" Icon="Cog"
                        Width="200" Layout="Accordion">
                        <Items>
                            <ext:Panel ID="Navigation" runat="server" Title="功能菜单树" Border="false" BodyStyle="padding:6px;"
                                Icon="User">
                                <Items>
                                    <ext:TreePanel ID="exampleTree" runat="server" Title="Examples" AutoScroll="false"
                                        Lines="true" ContainerScroll="false" RootVisible="false" AutoHeight="true" Header="False" HideParent="True">
                                        <Root>
                                            <ext:AsyncTreeNode Text="Examples" NodeID="root" Expanded="true" />
                                        </Root>
                                        <Loader>
                                            <ext:PageTreeLoader RequestMethod="GET" OnNodeLoad="GetExamplesNodes" PreloadChildren="true">
                                                <EventMask ShowMask="true" Target="Parent" Msg="Loading..." />
                                            </ext:PageTreeLoader>
                                        </Loader>
                                        <Listeners>
                                            <Click Handler="if(node.isLeaf()){e.stopEvent();loadExample(node.attributes.href, node.id);}" />
                                        </Listeners>
                                    </ext:TreePanel>
                                </Items>
                            </ext:Panel>
                            <ext:Panel ID="Settings" runat="server" Title="自定义功能" Frame="false" Border="false"
                                BodyStyle="padding:16px;" Icon="Wand" Html="<b>您可在此添加自定义功能，或直接删除</b>" />
                        </Items>
                    </ext:Panel>
                </West>
                <Center>
                    <ext:TabPanel ID="CenterPanel" Frame="true" ActiveTabIndex="0" runat="server" EnableTabScroll="true">
                        <Items>
                            <ext:Panel ID="Home" runat="server" Title="系统桌面" Icon="House" Border="false">
                                <AutoLoad Url="/View/Welcome.aspx" Mode="IFrame" ShowMask="true"></AutoLoad>
                            </ext:Panel>
                        </Items>
                        <Plugins>
                            <ext:TabCloseMenu runat="server" CloseAllTabsText="关闭所有" CloseOtherTabsText="关闭其他"
                                CloseTabText="关闭" />
                        </Plugins>
                    </ext:TabPanel>
                </Center>
                <East Collapsible="true" Split="true" MinWidth="150">
                    <ext:Panel ID="EastPanel" Frame="true" runat="server" Icon="Heart" Width="150" Title="温馨提示">
                        <Items>
                            <ext:Label Html="<div style='padding: 5px; font-family: Arial; font-size: 12px;'>&nbsp;&nbsp;&nbsp;&nbsp;欢迎使用本系统，使用本系统您可快速的进行二次开发，方便快捷，大大减少了程序员的劳动量。<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;本系统采用了：Extjs、Spring.Net、Nhibernate、MVC等技术，能够很方便的进行扩展。<br /><br/>&nbsp;&nbsp;&nbsp;&nbsp;如果您在进行二次开发的时候碰到问题，可以咨询我们<a href='http://www.chinacloudtech.com' target='_blank'>“中国云”</a>，我们将尽最大的努力帮助您。 <br /><br /><p align='Center'> 非常感谢您的支持<a href='http://www.chinacloudtech.com' target='_blank'><img src='/view/images/qidian10.png' border='0'></a><p>">
                            </ext:Label>
                        </Items>
                    </ext:Panel>
                </East>
                <South Collapsible="false">
                    <ext:Panel ID="Panel2" Height="25" runat="server">
                        <Items>
                            <ext:StatusBar runat="server" AutoHeight="true" ID="sbar">
                                <Items>
                                    <ext:ToolbarSeparator ID="ToolbarSeparator2" runat="server" />
                                    <ext:Label Html="CopyRight©2010 <a href='http://www.chinacloudtech.com' target='_blank'>中国云</a> 版权所有"
                                        Text="">
                                    </ext:Label>
                                    <ext:ToolbarSeparator ID="ToolbarSeparator1" runat="server" />
                                    <ext:Label Html="系统支持:<a href='http://www.qidian10.com' target='_blank'>陈杰</a>" Text="">
                                    </ext:Label>
                                </Items>
                            </ext:StatusBar>
                        </Items>
                    </ext:Panel>
                </South>
            </ext:BorderLayout>
        </Items>
    </ext:Viewport>
    <ext:Window ID="ChangePwdWin" runat="server" Modal="True" Hidden="true" Collapsible="true"
        Icon="Key" Title="修改密码" HideLabel="false" BodyStyle="padding:16px;text-align:center;"
        AutoHeight="true" Width="400px" Resizable="False">
        <Items>
            <ext:Panel ID="Panel3" runat="server" Frame="true" Border="false" Layout="Form" ColumnWidth="1">
                <Items>
                    <ext:TextField ID="TxtOldPwd" AnchorHorizontal="92%" runat="server" InputType="Password"
                        AllowBlank="false" FieldLabel="请输入旧密码" />
                    <ext:TextField ID="TxtNewPwd" AnchorHorizontal="92%" runat="server" InputType="Password"
                        AllowBlank="false" FieldLabel="请输入新密码" />
                    <ext:TextField ID="TxtSurePwd" AnchorHorizontal="92%" runat="server" InputType="Password"
                        AllowBlank="false" FieldLabel="请确认新密码" />
                </Items>
            </ext:Panel>
        </Items>
        <Buttons>
            <ext:Button ID="BtnSave" runat="server" Text="提 交" Icon="Disk">
                <DirectEvents>
                    <Click OnEvent="BtnSave_Click">
                        <EventMask ShowMask="true" Msg="修改中，请稍后..." />
                    </Click>
                </DirectEvents>
            </ext:Button>
        </Buttons>
    </ext:Window>
    </form>
</body>
</html>
